package com.jltx.xq.zeus.startup.executor

import java.util.concurrent.Executor

/**
 * @author aidenquan
 *         Created by junlintianxia on 2022/07/14.
 */
interface StartupExecutor {
    /**
     * 让每个任务都可以指定自己执行在哪个线程沲
     *
     */
    fun createExecutor(): Executor

    /**
     * 指定线程的优先级
     */
    fun getThreadPriority(): Int
}